package ru.pbem.olympia.core;

/**
 * User: Roman Pavlov
 * Date: 09-Sep-2010
 * Time: 19:05:04
 */
public class GenericEntity implements Entity{
    private Identity id;
    private Type type;

    public GenericEntity(String newId, Type newType) {
        id = new StringId(newId);
        type = newType;
    }

    public Identity getId() {
        return id;
    }

    public Type getType() {
        return type;
    }
}
